package com.ruoyi.livedemo.dto;

import javax.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DiaryMediaPayload {

    private Long id;

    @NotBlank(message = "请提供文件路径")
    private String filePath;

    @NotBlank(message = "请指定媒体类型")
    private String mediaType;

    private String caption;
    private Integer sortOrder;
}
